const getters = {
  num: state => state.index.num,
  nickName: state => state.user.nickName,
  role: state => state.user.role,
  allRoutes: state => state.permission.allRoutes,
  sidebarState: state => state.collapse.sidebarState,
  tagViews: state => state.tagViews.visitedViews,
  themeColor: state => state.changeTheme.themeColor
}

export default getters
